package com.oo.inherit_3.solider;

/**
 * Test--${description}
 *
 * @author: Jovi
 * @createTime: 2017-05-09 14:43
 **/
public class Test {

    public static void main(String[] args) {
        Person p = new Person();
        p.work();
        System.out.println("==================");
        Solider s = new Solider("刘天明", 62, "男", "军区司令", 42, "北京军区");
        s.work();
        System.out.println("==================");
        Doctor d = new Doctor("刘鑫", 23, "女", "主任医师", "内科");
        d.work();
    }
}
